#pragma once
#include "thread.hpp"
#include <queue>
#include <vector>
namespace threadmodul{
using namespace th;
template<typename T>
class thread_pool{
   thread_pool(std::string name,pthread_mutex_t lock)
    :
    {

    }





    private:
    std::vector<thread> _threads;
    std::queue<T> _tasks;
    bool _state;
    int _sleep_thread_num;
    pthread_mutex_t _mutex;
    pthread_cond_t _cond;
}









}